package com.ys.erp.entity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ys.erp.entity.data.bean.Order;
import jakarta.validation.constraints.NotBlank;


import java.util.List;

/**
 * @author lwj
 * @date 2023/4/28
 */

public interface IOrderService extends IService<Order> {

    /**
     * 根据订单编号查询订单
     *
     * @param orderNo               订单编号
     * @return                      订单
     */
    Order getByNo(@NotBlank String orderNo);
}
